package com.dreamoo.service.ai;

import dev.langchain4j.model.output.structured.Description;
import dev.langchain4j.service.MemoryId;
import dev.langchain4j.service.UserMessage;
import reactor.core.publisher.Flux;

/**
 * @author 山顶洞人郑某
 * @className OpenAiChatService.java
 * @date 2025 04 29
 */
@Description({"OpenAiChatService","用来和OpenAi交流的高级AI服务"})
public interface OpenAiChatService {
    public Flux<String> chat(@MemoryId String memoryId, @UserMessage String prompt);
}
